package com.xxx.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class KillCreateOrderDto {

    @NotNull(message = "支付方式不能为空")
    private Integer payType;

    @NotBlank(message = "防重token不能为空")
    private String token;

    @NotBlank(message = "订单号不能为空")
    private String orderNo;
}
